<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
	<link rel="stylesheet" type="text/css" href="../user/table.css" >
	<link rel="stylesheet" type="text/css" href="../allpage.css" >
<body>
	<form method = "post" action="../servlet/VetUpdate">
	<input type="hidden" name="type" value="doAdd"/>
	<table>
		<tr>
			<td align="center">姓名</td>
			<td>
				<input type="text" name="name" />
			</td>
		</tr>
		<tr>
			<td align="center">专长</td>
			<td>
				<select name="spec_id">
				<c:forEach var="spec" items="${specList}">
					<option value="${spec.id}">${spec.name }</option>
				</c:forEach>
				</select>
			</td>
		</tr>
		<tr>
			<td align="center">地址</td>
			<td>
				<input type="text" name="address" />
			</td>
		</tr>
		<tr>
			<td align="center">电话</td>
			<td>
				<input type="text" name="telephone" />
			</td>
		</tr>
		<tr>
			<td colspan="2"><input type="submit" value="保存"/>&nbsp;&nbsp;&nbsp;&nbsp;<input type="reset" value="清空"/></td>
		</tr>
	</table>
</body>
</html>